package day1201parking;

import java.util.ArrayList;

public class CarSpot {
	public String getId() {
		return id;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String toString() {
		return "车位号："+id+" 目前状态："+status+" 所停车的车牌号："+number;
	}
	private String id;//车位号
	private String status;//'on'代表车位空闲，‘off’代表车位正在被使用
	private String number;//记录当前车位上存的车的车牌号
	

}
